Telegram Group & Telegram Channel
This media is not supported in your browser
VIEW IN TELEGRAM
Маълум бир рангдаги ячейкалар суммасини аниқлаш формуласи.

Excel
таркибида афсуски бу формула мавжуд эмас, лекин уни макрослар ёрдамида яратиб олишимиз мумкин. Бунинг учун:

1️⃣ Янги файлни xlsm форматида сақлаб олинг.
2️⃣ Alt + F11 бирикмасини босиб янги Модуль яратинг.
3️⃣ Қуйида кўрсатилган кодни кўчириб олиб модульни сақланг.
4️⃣ Формулани ишлатиш учун иккита критерий белгиланг: диапазон ва рангли ячейка.
5️⃣ Формула ҳисоблаши учун F9 клавишасини ишлатинг.

Public Function SummaRang(DataRange As Range, ColorSample As Range) As Double
Dim Sum As Double
Application.Volatile True

For Each cell In DataRange
If cell.Interior.Color = ColorSample.Interior.Color Then
Sum = Sum + cell.Value
End If
Next cell
SummaRang = Sum
End Function


Excel Hacks видеокурси | 1C видеокурси



tg-me.com/excel_hacks/641
Create:
Last Update:

Маълум бир рангдаги ячейкалар суммасини аниқлаш формуласи.

Excel
таркибида афсуски бу формула мавжуд эмас, лекин уни макрослар ёрдамида яратиб олишимиз мумкин. Бунинг учун:

1️⃣ Янги файлни xlsm форматида сақлаб олинг.
2️⃣ Alt + F11 бирикмасини босиб янги Модуль яратинг.
3️⃣ Қуйида кўрсатилган кодни кўчириб олиб модульни сақланг.
4️⃣ Формулани ишлатиш учун иккита критерий белгиланг: диапазон ва рангли ячейка.
5️⃣ Формула ҳисоблаши учун F9 клавишасини ишлатинг.

Public Function SummaRang(DataRange As Range, ColorSample As Range) As Double
Dim Sum As Double
Application.Volatile True

For Each cell In DataRange
If cell.Interior.Color = ColorSample.Interior.Color Then
Sum = Sum + cell.Value
End If
Next cell
SummaRang = Sum
End Function


Excel Hacks видеокурси | 1C видеокурси

BY Excel Hacks


Share with your friend now:
tg-me.com/excel_hacks/641

View MORE
Open in Telegram


Excel Hacks Telegram | DID YOU KNOW?

Date: |

Find Channels On Telegram?

Telegram is an aspiring new messaging app that’s taking the world by storm. The app is free, fast, and claims to be one of the safest messengers around. It allows people to connect easily, without any boundaries.You can use channels on Telegram, which are similar to Facebook pages. If you’re wondering how to find channels on Telegram, you’re in the right place. Keep reading and you’ll find out how. Also, you’ll learn more about channels, creating channels yourself, and the difference between private and public Telegram channels.

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

Excel Hacks from ye


Telegram Excel Hacks
FROM USA